Fix up issue with principals. Login as pricipal caused wierd users and
paths. Probably related to href final slash.