Ajax login no longer has 401 Unauthorized Error