@Override
protected void doPost(final HttpServletRequest request, final HttpServletResponse response)
throws ServletException, IOException {
AuthenticationSession authSession = new AuthenticationSessionLookupStrategyDefault().lookup(request, response);
if (authSession != null) {
final boolean sessionValid = IsisContext.getAuthenticationManager().isSessionValid(authSession);
if (sessionValid) {
loggedIn(response, authSession.getUserName());
return;