Do not require login unless 401 is received on push

Added error details to the JSONMessage.  The field name has changed but the json field tag's name for serialization is the same for backwards compat in the api.


Fixes #1246