If the authUrl wasn't valid the server would crash.
Added a simple check for valid authUrl.
Added syslog integration and simple authUrl check.