[#2236] PamAuthCheck now reads stdin into std::string

Previously, non-new-line-terminated passwords were only null-terminated
because they were read into a static array.