Adding remote-user support for Bearer auth