fix logic to prevent redirection loops for user/login in live environment
Merge pull request #7 from joshkoenig/login-redirect-fix

fix logic to prevent redirection loops for user/login in live env