Make generated database password secure