api_user and register_items unit tests now use postgres
fix save_api_user
fix missing postgres dao swap for api keys
code to migrate api key docs to postgres