Add support for login with access and refresh tokens and other stuff for session.