when logging in to public beaker instance, redirect according to what the client things the hostname is, not the server.  this fixes Issue #384
Merge pull request #526 from twosigma/spot/384

when logging in to public beaker instance, redirect according to what th...