updated signup token generation method to make it reusable for password reset token generation
Removed usernameIsTaken method from API and replaced it with valueIsTaken. Updated tests