Add server name to flask configuration.
Add defensive checks for other service's failures.
Add application context for url_for around mail.
Add password portion of API for users.