Require valid login credentials before verified email check.

Require valid login credentials before verified email check is made. 

PR for #931