DEVIDM-130: Fixed a bug causing the authentication to be cached.