Update unit tests to properly test new login request data

Data is now created as an object, rather than url encoded string, to properly handle special characters in usernames/passwords