try login via ajax request.