Fix for issue with visiting /login in chrome while logged in.