* [fix] OAuth2 Frappe Server URL Validation
Only request and validate the frappe_server_url if hostname is not equal to frappe_server_hostname
request.get to localhost by using hostname results into timeout
* check domains in local.conf.domains as well
* removed unused variable as per codacy