Support SSL/SSO better
Merge pull request #3 from RittmanMead/sslfix

Support SSL/SSO better