Fix a few "500" errors in the login template

The login template incorrectly access images using an absolute path instead of __IMAGE_ASSETS__. This is a problem if tracmor is installed in a non standard directory.