Overloaded getToken method to require password