Fixed issues with empty email in OAuth login and fixed specs for user provider