[Security] added cleaning to login/logout redirection url