Login and cookies done. Fixed some redirects and rendering after correct solution.