minor template changes
Bumped version
Check for Integral type instead of int to support longs.
Test header authentication.