Fix tests for allowing sign in with username.