Test for HTTPS redirect
Fix bug in test HTTPS router
Use HTTPS for logout, as would happen in real life