Fixed issue #7183: Authentication hook "hook_get_auth_webserver_profile" not working properly