Moved flash into http.
Renamed config_defaults to be entity_config_defaults.
Fixed small bug in user_api::login().