Initial setup of login and token storage.