Letting the browser to use the protocol that the page was loaded with when loading resources(say https when the login attempted). Fixes the issue with admin login(#56)