Fix for creating an authentication token using the password grant type.