Added a cookie path so that clients can log in correctly from subdirectories.