Added ability to use custom templates to login and manager lockout pages