Revert "fix to work with new login system, check for http status 302"

This reverts commit a730c55d9cbe5b631fecfb94e408f055eaa0801a.