Fixed cookie problem with localhost