public int PRPCLogin(String password) {
		try {
			updatePassword(password);
			
			HttpParams params = this.methodGet.getParams();
			params.setParameter(ClientPNames.HANDLE_REDIRECTS, Boolean.TRUE);
			
			this.methodGet.setParams(params);
		
            // Create local HTTP context
            HttpContext localContext = new BasicHttpContext();

            // Bind custom cookie store to the local context
            localContext.setAttribute(ClientContext.COOKIE_STORE, this.cookieStore);
            
			HttpResponse httpResponse = this.client.execute(this.methodGet, localContext);
			int codeGet = httpResponse.getStatusLine().getStatusCode();

			if (codeGet > 200 && codeGet < 300)
				System.out.println("Call returned: Successful (" + codeGet + ")");


			return codeGet;

		} catch (Exception e) {
			e.printStackTrace();
		}
		return -1;
	}