Added middleware to fix an error with "repoze.who" and login with HTTPS sites
Merge branch 'sapns__ssl' into master2