Changed the login configuration to match the API