-Fixed bad edgecase for login redirect.
Merge pull request #969 from mmcguinn/mm964

-Fixed bad edgecase for login redirect.