NTFY-99 Added the err details to the json response if present
NTFY-128 Changes to auth api and path

The api has changed in that the variable part of the request is now a
query parameter
NTFY-128 Changes to auth api

With the change I've added two new messages that can be generated if the
strategy is missing/invalid
NTFY-128 Added function to extract strategy

The strategy for logon and permission check can be in several places and
this function tries to find the strategy parameter