Refactored the code. Replaced set_code with get_user_by_code that returns a user object that must be passed to private methods of the client
Merge branch 'master' of github.com:samfcmc/fenixedu-python-sdk