fixes #4462 - extending the /users/login handling to process REMOTE_USER.