Avoid problems with hardcoded resource links in login template, remove overriding - fixes #28