Fix HybridAuth for command line usage, namely get rid of the redirects.