Add dev mode to auth cookie parsing