fixes repo auth

in sys controller
Merge pull request #1754 from opf/fix/cached_user_login_for_repo_auth

fixes repo auth