Fix redirection from https to http

Closes #97