fixed register, login, forgot RequestHandlers to work with config.py.
they will extract all database information they need to comunicate with couchdb from config.py.

also I added test to confirm these features