Making security-context work with oauth, and adding error page for when username is not found.