Implemented switching to/from HTTPS for login and register
Attempting to set default URL options correctly