tests for password reset email and login