Added USERS_CHECK_PASSWORD functionality

* Do not check passwords when USERS_CHECK_PASSWORD = False
* Cache the username:password combination so we do not add load to the DB

TODO: Security risk: Change caching to memcached as someone could potentially run the server out of memory by continually adding users or passwords to the cache.