fixed typehint for storage adapter in AccountsManager
adapted login attempts to use storage adapter