Solved issue #4. The program is now fully working on python 3.3+
Test-mode improved for the login and mdp global vars.
Caching of the request implemented.