Bugfix: Registration and other customer actions were redirected. Now only logout action redirects if necessary.