Add auth/login/logout support