Fixed indentation and relative/absolute URLs
Implemented HTTPS access for the login form