Some cleanup.
Test case for login API call