Site does not redirect to my account page after create account or login button click. New account mail is sending properly at the time of registration. But the page still redirect to login page itself.

It works properly in localhost, but shows this error in live server

Does anyone know the solution?