removed debugging info - login via cookie should work ok now