Authorization

Added flag LOG_AUTH_FAILURES to make it easier to debug auth settings