Check if a password has been set first and make sure the user is signed out