Use gateway authentication when auto-logging in