public static boolean authorize(HttpRequest rx)
	{
		boolean ret;
		if(rx.method().equals("POST") && rx.cookieValue("CPA") != null)
			ret = rx.hasHeader("Authorization") && rx.header("Authorization").equals(Config.i().oauth_token);
		else
			ret = SessionsCache.contains(rx.cookieValue("CPA"));

		return ret;
	}