Added redirection to back url in case of grafana auth