Fixed hook hook_oauth2_login_enabled.