If autoLogin and autoLoadStoredToken are both set to true, login is only called once and autoLogin has precedence