Provide JSON in auth/cookie as in auth/user
A common scenario when using EntryStore is that you want to log in and immediately afterwards get information on the home context, preferred language and more. Currently that information is available from the auth/user resource. Hence, currently you need to first sign in and then do another request.
A more efficient approach is to provide the same information in the response body after successful authorization, that is, when doing a POST to auth/cookie.
Currently there is no simple way to share information between resources, i.e. UserResource and CookieResource, since there is information that is not shared between threads, like the current REST context etc. This makes it quite complicated to produce code that can be shared between resources, so I mark this with "Won't fix".