A critically degenerate elliptic Dirichlet problem, spectral theory and bifurcation. (January 2020)