fix for AGPUSH-552 now validates the deviceToken

Done for https://issues.jboss.org/browse/AGPUSH-552