Fix problem with user logging in/out on phone not correctly registering.