Fix multiline syntax to work with Ruby 1.8
Fix "Login with CAS" link when Redmine is installed in a subdirectory.