Add HTTP status code for $databaseConfig error (fixes #3392)
Merge pull request #3399 from kinglozzer/pulls/dbconfig-response-code

Add HTTP status code for $databaseConfig error (fixes #3392)