Bug 950367 - Handle non-integer values for expires_in

Any param value of expires_in outside the range of 0..max_expires should be treated as the default value.
Merge pull request #1996 from smarterclayton/bug_950367_use_default_for_bad_expires_in

Merged by openshift-bot