Only thing I'd change here is the route name.. /basic_auth_login would be better. tsung is just one possible customer of basic auth.