Don't encode query params before adding to uri
Make sure testing login always success
Refactor Post.as_dict