Trying to fix weird sign-in bug with register.