JARVIS-412 updated auth logic to support logins