When "Account login method" is set to email, user is not logged in after registration is completed (no email or administrator confirmation needed)
As soon as I change "Account login method" to username, when the user fills in registration form and clicks submit user is automatically logged in.

How can this be fixed?