Passwords: Fix for validation of cost 31 [Closes #2]

I think it is better to use same magic numbers everywhere and use >= instead of > as it is less confusing and error prone.