Fix check for disallowing login page while logged in
Fix check for disallowing login page while logged in

dzhw/metadatamanagement,dzhw/metadatamanagement,dzhw/metadatamanagement,dzhw/metadatamanagement,dzhw/metadatamanagement