auth::basic::file: add validates on some parameters

Some parameters spelled in plural could be mistakenly set to an array
which wont work with ruby 1.9 when used in an ERB template.