set NO_CACHE on login, remove it on logout
Merge pull request #592 from ahilles107/NO_CACHE_API

set NO_CACHE on login, remove it on logout