Sign in bug fixes