Fixes for user authentication and site configuration.