login: redirect to secure url before login

* login: Check if requested url is secure and if not then redirect to secure url before showing login. (closes #1883)
* accounts: Changes template so it uses secure url for login form's POST action.
3: I102 copyright year is outdated, expected 2014 but got 2012