fixed tests for logging into edit profile page