Issue #2297713 by acbramley: _ldap_authentication_verify_user_profile() always passes on first page load