be more liberal with input
Merge pull request #6 from sepm-depm/auth

be more liberal with input