Enabled non-session authorize functionality as well as a small fix to the setup.py