Dual URL format

This seems to work for logging in using the SSL valid URL.