allow login page links to start with ~/