Add password to cache as well. Otherwise, it's possible to re-login with wrong password