Changed 'test_empty_db' to match the new login template.
Added logging for when trying to parse response data into JSON results in an error.
Created a script to help with setup. It sets up the database.