Get active user from username authenticated by web server.
With server authentication Gallery delegates authentication to the web server and Gallery trusts the given username from the 'REMOTE_USER' variable without doing any authentication on its own (same as in GalleryEmbed). It's the web server's responsibility to do the authentication in some way.