add login routing tests