Fixed login and stream redirect