fix support for logging in with email as username
update version to 3.0.2