Fix user/login local tasks

/user/login isn't strictly necesarry any more but its sort of a expected url.

Some testing fixes to support testing it.