Ensure password input doesn't overflow outside of container (#933)