Fixed a bug where the login credentials were not being cached correctly, which
forced the user to keep logging in every time they had to do stuff with
the remote database.